package com.mdlib.helper.model.entity;

import java.io.Serializable;

/**
 * Created by bin on 16/8/12.
 */
public class AuthEntity implements Serializable {

    private String type;

    private String accessToken;

    private String uid;

    private String nickName;

    private String avatar;

    private String sex;


    public AuthEntity() {

    }


    public AuthEntity(String type, String uid, String nickName, String avatal) {
        this.type = type;
        this.uid = uid;
        this.nickName = nickName;
        this.avatar = avatal;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }



    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }



    @Override
    public String toString() {
        return "AuthEntity{" +
                "type='" + type + '\'' +
                ", accessToken='" + accessToken + '\'' +
                ", uid='" + uid + '\'' +
                ", nickName='" + nickName + '\'' +
                ", avatar='" + avatar + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}
